<{include file="wiget/header.tpl"}>
<{include file="wiget/navbar.tpl"}>
<div id='left'>
</div>
<div id='content' class="span8">
  <div class="df_intro">
	<h3>手册</h3>
	<ul>
	<{foreach $items as $item}>
	<li><a href="<{$smarty.const.URL}><{$item}>/"><{$item}></a></li>
	<{/foreach}>
	</ul>
    <div class="clear"></div>
  </div>

  <div class="df_intro">
	<h3>今日函数</h3>
	<ul>
	<li><a href="/<{$func.item_name}>/func/<{$func.func_name}>"><{$func.item_name}> <{$func.func_name}></a></li>
	<div>
	<{$func.content}>
	<br/>
	<{$func.content_en}>
	</div>
	</ul>
    <div class="clear"></div>
  </div>
   <div class="df_intro">
	<h3>书籍</h3>
	<ul>
		<li><a href="<{$smarty.const.URL}>book/1" target="_blank">JavaScript权威指南(第6版)中文版 pdf 文字版(JavaScript：The.Definitive.Guide)David.Flanagan</a></li>
	</ul>
	<h3>最新章节</h3>
	<ul>
	<{foreach $sections as $v}>
		<li><a href="book/<{$v.book_id}>/<{$v.section_id}>" target="_blank"><{$v.title_en}></a></li>
	<{/foreach}>
	</ul>
    <div class="clear"></div>
  </div>
  <div class="df_intro">
    <h3><{'Y年m月d日'|date}>更新的函数(最近更新):</h3>
	<ul>
	<{foreach $funcs as $v}>
	<li><a href="/<{$v.item_name}>/func/<{$v.func_name}>"><{$v.item_name}> <{$v.func_name}>函数</a></li>
	<{/foreach}>
	</ul>
    <div class="clear"></div>
  </div>

</div>
<{include file="wiget/footer.tpl"}>